{{define "header"}}<!DOCTYPE HTML>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>{{with .D.Title}}{{.}} - {{end}}{{.Custom.Sitename}}</title>
		<meta name="description" content="{{.Custom.Sitename}}">
		<link href="{{.D.Static}}add-on/bootstrap/css/bootstrap.min.css" rel="stylesheet">
		{{if .D.GlobalCssFile}}<link href="{{.D.GlobalCssFile}}" rel="stylesheet">{{end}}
		<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		{{if .D.GlobalIndexCssFile}}<link href="{{.D.GlobalIndexCssFile}}" rel="stylesheet">{{end}}
		{{if .D.IndexCssFile}}<link href="{{.D.IndexCssFile}}" rel="stylesheet">{{end}}<script type="text/javascript" src="{{.D.Static}}add-on/jquery/jquery-1.8.0.min.js"></script>
		{{template "extendHeader" .}}
	</head>
	<body>{{end}}{{define "extendHeader"}}{{end}}
